<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="header" lang="en">
<div th:fragment="content">
<!-- （学生）待填报列表 -->
<div class="row">
    <div class="card">
        <div class="card-header"><h4>待填报列表</h4></div>
        <div class="card-body">
            <div class="table-responsive">
                <table class="table table-bordered table-striped table-vcenter" style="text-align: center">
                    <thead>
                        <tr>
                            <th  style="text-align: center;width: 124px;">任务编号</th>
                            <th style="text-align: center;">任务名称</th>
                            <th style="text-align: center;width: 264px;">结束时间</th>
                        </tr>
                    </thead>
                    <tbody>
                    <tr th:each="task: ${reportTask.getRecords()}">
                        <td><a th:href="'/Report/Report/' + ${task.getTaskId()} + '/' + ${task.getTaskTemplate()}" th:text="${task.getTaskId()}">任务编号</a></td>
                        <td><a th:href="'/Report/Report/' + ${task.getTaskId()} + '/' + ${task.getTaskTemplate()}" th:text="${task.getTaskName()}">任务名称</a></td>
                        <td><code th:text="${#dates.format(task.getTaskEnd(), 'yyyy-MM-dd HH:mm:ss')}">结束时间</code></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</div>
</html>